package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ShopCart;

import java.util.List;
import java.util.Map;

public interface ShopCartMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShopCart record);

    ShopCart selectByPrimaryKey(Long id);

    List<ShopCart> selectAll();

    int updateByPrimaryKey(ShopCart record);

    List<Map<String, Object>> selectAllByUserId(Long uId);

    void deleteAll(Long uId);
}